package com.lyw.db.dao

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query
import com.lyw.db.entites.Knowledge
import com.lyw.db.entites.PoemOrTag
import com.lyw.db.entites.PoemTag

@Dao
interface PoemOrTagDao {
    @Query("SELECT * FROM poem_or_tag")
    fun getAllPoemTags(): List<PoemOrTag>


    @Insert
    fun insertAll(vararg poemOrTag: PoemOrTag)

    @Insert
    fun insertAll( poemOrTags: List<PoemOrTag>)
}